<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="ThemeBucket">
  <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon">

  <title>区域管理</title>

  {include file='public/comm_css.html'}

  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
  <script src="js/html5shiv.js"></script>
  <script src="js/respond.min.js"></script>
  <![endif]-->
</head>

<body class="sticky-header">

<section>
    <!-- left side start-->
    {include file='public/left.html'}
    
    <!-- left side end-->
    
    <!-- main content start-->
    <div class="main-content" >

        <!-- header section start-->
        {include file='public/header.html'}
        <!-- header section end-->

        <!-- page heading start-->
        <div class="page-heading">
            <h3>
                区域管理
            </h3>
            <!--
            	作者：zhouming925@163.com
            	时间：2016-09-20
            	描述：
            
            <ul class="breadcrumb">
                <li>
                    <a href="#">Dashboard</a>
                </li>
                <li>
                    <a href="#">Data Table</a>
                </li>
                <li class="active"> Basic Table </li>
            </ul>
            -->
        </div>
        <!-- page heading end-->

        <!--body wrapper start-->
        <div class="wrapper">
            <div class="row">
            		<div class="col-xs-1">
					<select class="form-control m-bot15">
	                    <option>江苏省</option>
	                </select>            			
            		</div>
            		<div class="col-xs-1">
					<select class="form-control m-bot15">
	                    <option>南京市</option>
	                </select>            			
            		</div>
            		<div class="col-xs-1">
            			<select class="form-control m-bot15">
	                    {foreach from=$area_list item=area}
	                     <option value={$area.id} {if $area.id == $area_id}selected{/if}>{$area.name}</option>
	                    {/foreach}
	                </select> 
            		</div>
            </div>
            <div class="row">
            		<div class="col-sm-12">
	                <section class="panel">
	                    <div class="panel-body">
	                        <table class="table">
	                            <tbody>
	                            <tr>
	                                <td class="col-xs-1">区域名称</td>
	                                <td>{$area_info.name}</td>
	                            </tr>
	                            <tr>
	                                <td class="col-xs-1">省份</td>
	                                <td>{$area_info.province_name}</td>
	                            </tr>
	                            <tr>
	                                <td class="col-xs-1">城市</td>
	                                <td>{$area_info.city_name}</td>
	                            </tr>
	                            <tr>
	                                <td>区域经理</td>
	                                <td>
	                                		{foreach from=$manager_list item=manager}
		                                	<label class="radio-inline">
										  <input type="radio" name="manager" value="{$manager.id}" {if $manager.id == $area_info.manager_id}checked{/if}>{$manager.realname}
										</label>
										{/foreach}
	                                </td>
	                            </tr>
	                            <tr>
	                            		<td class="col-xs-1"><input type="hidden" id="currentId" value="{$area_id}"/></td>
	                            		<td><button type="button" class="btn btn-success" id="setAreaManager">保存</button></td>
	                            </tr>
	                            </tbody>
	                        </table>
	                    </div>
	
	                </section>
            		</div>
            </div>
        </div>
        <!--body wrapper end-->

        <!--footer section start-->
        <footer>
            2014 &copy; AdminEx by ThemeBucket
        </footer>
        <!--footer section end-->


    </div>
    <!-- main content end-->
</section>

{include file="public/comm_js.html"}
<script type="text/javascript" src="/assets/js/custom/manager.js"></script>
</body>
</html>
